<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    :last-child,老小选择器<br>
    <div class="my_last">
        <span>我</span>
        <span>爱</span>
        <span>你</span>
    </div>
    <style>
        .my_last span:last-child{
            font-size: 3em;
            color:red;
        }
    </style>
</body>
</html>